import Model from './index';

export default class Organizaton extends Model {
	
    format(row, isFromCache) {
      this.id = row.organizationID.toString();
      this.name = row.name || row.organizationName;
      this.mainBandId = row.homeBandID || row.mainBandID;
      this.creatorId = row.creatorID;
      this.robotId = row.robotID;
    }
}
Organizaton.typeName = 'Organizaton';
Organizaton.displayName = '机构';